<%- include('./templates/_header') %>
    <script type="text/javascript" src="/lib/moment/moment.js"></script>
    <script type="text/javascript" src="/lib/moment/zh-cn.js"></script>
    <link rel="stylesheet" href="/css/user.css"/>
  <div id="container" class="container">
        <div class="user-news">
            <div class="user-icon">
                <img src="<%= user.headimgurl%>">
            </div>
            <div class="user-other">
                <span><%= user.username%></span>
                <div class="about-user">
                    <span>性别：<% if(user.sex == '1') { %><label>男</label><%}%><% if(user.sex == '0') { %><label>女</label><%}%></span>
                    <span>居住地：<%= user.province%> <%= user.city%></span>
                    <span>积分：<% if(user.integral > 10000) { %><label>9999+</label><%}%><% if(user.integral < 10000) { %><label><%= user.integral %></label><%}%></span>
                </div>
            </div>

            <!-- 消息通知 -->
            <i class="msg-notice weui-reddot iconfont icon-msgsystem1"></i>
            <!-- 账户设置 -->
            <i class="user-setting iconfont icon-settings1"></i>
        </div>

        <!-- 用户功能 -->
        <div class="user-action">
            <div class="weui_grids"  >
                <a href="/user/collects" class="weui_grid js_grid"  >
                    <div class="weui_grid_icon">
                        <i class="iconfont icon-star"></i>
                    </div>
                    <p class="weui_grid_label">
                        收藏
                    </p>
                </a>
                <a href="/user/focus" class="weui_grid js_grid" >
                    <div class="weui_grid_icon">
                        <i class="iconfont icon-bulb1"></i>
                    </div>
                    <p class="weui_grid_label">
                        关注
                    </p>
                </a>
                <a href="/user/<%= user._id%>/article" class="weui_grid js_grid" >
                    <div class="weui_grid_icon">
                        <i class="iconfont icon-diamond1"></i>
                    </div>
                    <p class="weui_grid_label">
                        我的文章
                    </p>
                </a>
                <a href="/message" class="weui_grid js_grid" >
                    <div class="weui_grid_icon">
                        <i class="iconfont icon-msg"></i>
                    </div>
                    <p class="weui_grid_label">
                        消息
                    </p>
                </a>
                <a href="/user/edit" class="weui_grid js_grid" >
                    <div class="weui_grid_icon">
                        <i class="iconfont icon-user1"></i>
                    </div>
                    <p class="weui_grid_label">
                        账户信息
                    </p>
                </a>
                <a href="javascript:;" class="weui_grid js_grid" >
                    <div class="weui_grid_icon">
                        <i class="iconfont icon-banknote"></i>
                    </div>
                    <p class="weui_grid_label">
                        积分
                    </p>
                </a>
            </div>
        </div>

        <!-- 每日推荐 -->
        <div class="recommend">
            <div class="weui-loadmore weui-loadmore-line">
                <span class="weui-loadmore-tips">每日推荐</span>
            </div>

            <!-- Swiper -->
            <div class="swiper-container">
                <div class="swiper-wrapper list">
                </div>
                <!-- Add Pagination -->
                <div class="swiper-pagination"></div>
            </div>
            <!-- Swiper JS -->
<!--             <div class="slide" id="recommend-slide">
                <ul>
                    <li>
                        <a href="#">
                            <img src="" data-src="http://7xr193.com1.z0.glb.clouddn.com/1.jpg" alt="">
                        </a>
                       
                    </li>
                    <li>
                        <a href="#">
                            <img src="" data-src="http://7xr193.com1.z0.glb.clouddn.com/2.jpg" alt="">
                        </a>
                        
                    </li>
                    <li>
                        <a href="#">
                            <img src="" data-src="http://7xr193.com1.z0.glb.clouddn.com/3.jpg" alt="">
                        </a>
                        
                    </li>
                </ul>
            </div> -->
        </div>
  </div>
    <%- include('./templates/_tabbar') %>
    <script src="/js/user.js"></script>
<%- include('./templates/_footer') %>